home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
PInterfaces
/
CRMSerialDevices.p
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
84 lines
{
File: CRMSerialDevices.p
Contains: Communications Resource Manager Serial Device interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
}
{$IFC UNDEFINED UsingIncludes}
{$SETC UsingIncludes := 0}
{$ENDC}
{$IFC NOT UsingIncludes}
UNIT CRMSerialDevices;
INTERFACE
{$ENDC}
{$IFC UNDEFINED __CRMSERIALDEVICES__}
{$SETC __CRMSERIALDEVICES__ := 1}
{$I+}
{$SETC CRMSerialDevicesIncludes := UsingIncludes}
{$SETC UsingIncludes := 1}
{$IFC UNDEFINED __TYPES__}
{$I Types.p}
{$ENDC}
{$PUSH}
{$ALIGN MAC68K}
{$LibExport+}
CONST
{ for the crmDeviceType field of the CRMRec data structure }
crmSerialDevice = 1; { version of the CRMSerialRecord below }
curCRMSerRecVers = 1;
{ Maintains compatibility w/ apps & tools that expect an old style icon }
TYPE
CRMIconRecordPtr = ^CRMIconRecord;
CRMIconRecord = RECORD
oldIcon: ARRAY [0..31] OF LONGINT; { ICN# }
oldMask: ARRAY [0..31] OF LONGINT;
theSuite: Handle; { Handle to an IconSuite }
reserved: LONGINT;
END;
CRMIconPtr = ^CRMIconRecord;
CRMIconHandle = ^CRMIconPtr;
CRMSerialRecordPtr = ^CRMSerialRecord;
CRMSerialRecord = RECORD
version: INTEGER;
inputDriverName: StringHandle;
outputDriverName: StringHandle;
name: StringHandle;
deviceIcon: CRMIconHandle;
ratedSpeed: LONGINT;
maxSpeed: LONGINT;
reserved: LONGINT;
END;
CRMSerialPtr = ^CRMSerialRecord;
{$ALIGN RESET}
{$POP}
{$SETC UsingIncludes := CRMSerialDevicesIncludes}
{$ENDC} {__CRMSERIALDEVICES__}
{$IFC NOT UsingIncludes}
END.
{$ENDC}